// Decompiled by Jad v1.5.8g. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.kpdus.com/jad.html
// Decompiler options: packimports(3) 

package com.nnee.p_pr.p_activity;

import android.graphics.Bitmap;
import android.view.WindowManager;
import android.widget.ImageView;
import com.nnee.p_pr.p_activity.p_view.cls_cb;

// Referenced classes of package com.nnee.p_pr.p_activity:
//            MainGridActivity

class cls_x
    implements cls_cb
{

	cls_x(cls_MainGridActivity parammaingridactivity)
    {
		super();
        a = parammaingridactivity;
        
    }

    public void a()
    {
        if(d != null)
        {
            d.setVisibility(8);
            if(c == null)
                c = (WindowManager)a.getSystemService("window");
            c.removeView(d);
            d.setImageDrawable(null);
            d = null;
        }
    }

    public void a(int i, int j)
    {
        b.x = i;
        b.y = j;
        c.updateViewLayout(d, b);
    }

    public void a(int i, int j, Bitmap bitmap)
    {
        b = new android.view.WindowManager.LayoutParams();
        b.gravity = 51;
        b.x = i;
        b.y = j;
        b.height = -2;
        b.width = -2;
        b.flags = 920;
        b.format = -3;
        b.windowAnimations = 0;
        ImageView imageview = new ImageView(a);
        imageview.setPadding(0, 0, 0, 0);
        imageview.setImageBitmap(bitmap);
        c = (WindowManager)a.getSystemService("window");
        c.addView(imageview, b);
        d = imageview;
    }

    final cls_MainGridActivity a;
    private android.view.WindowManager.LayoutParams b;
    private WindowManager c;
    private ImageView d;
}
